/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.eddycar.jproyeddycar.comun.dao;

import org.eddycar.jproyeddycar.dao.JpaDao;
import java.util.List;
import org.eddycar.jproyeddycar.comun.modelo.Garante;

/**
 *
 * @author maxandres90
 */
public class DaoGarante extends JpaDao<String, Garante> {

    @Override
    public List<Garante> buscarTodos() {
        return getEm().createQuery("SELECT p FROM Garante p").getResultList();
    }
}
